import request from "../utils/request"

// 企业风采列表接口:http://localhost:8100/zsrencai/api/sys/admin/company-file/list/page
export const companyList = query => {
  return request.post('/zsrencai/api/sys/admin/company-file/list/page', query)
}
// 企业风采详情接口:http://localhost:8100/zsrencai/api/sys/admin/company-file//selectById/1
export const companyInfo = id => {
  return request.get('/zsrencai/api/sys/admin/company-file//selectById/' + id)
}
// 单个删除企业风采接口:http://localhost:8100/zsrencai/api/sys/admin/company-file/deletebyid
export const deleteFile = query => {
  return request.post('/zsrencai/api/sys/admin/company-file/deletebyid', query)
}
// 批量删除企业风采接口:http://localhost:8100/zsrencai/api/sys/admin/company-file/delete/batch/companyfile
export const deleteAllFiles = query => {
  return request.post('/zsrencai/api/sys/admin/company-file/delete/batch/companyfile', query)
}
// 批量审核企业附件信息接口: http://localhost:8100/zsrencai/api/sys/admin/company-file/update/batch/audit
export const fileAudit = query => {
  return request.post('/zsrencai/api/sys/admin/company-file/update/batch/audit', query)
}

